<html
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:p="http://primefaces.prime.com.tr/ui">

<h:form>
    <div id="menuBox">
        <p:menu>
            <p:submenu label="#{msg.menuHeadOne}">
                <p:menuitem value="#{msg.menuOpenOrders}"/>
            </p:submenu>
            <p:submenu label="Articles">
                <p:menuitem value="Overview" action="showArticleManagement"/>
                <p:menuitem value="Add" action="showAddArticle"/>
            </p:submenu>
        </p:menu>
    </div>
</h:form>

</html>